import { DataNavIcon } from '@ycx/ui';
import { AppRouteObject } from '#/router.ts';
import EventCenter from '@/pages/eventCenter';

const eventCenter: AppRouteObject = {
  order: 1,
  path: 'event-center',
  meta: {
    label: 'AI病害识别',
    key: '/event-center',
    icon: <DataNavIcon style={{ fontSize: '24px' }} />,
    permissions: ['EVENT_CENTER'],
  },
  element: <EventCenter />,
};

export default eventCenter;
